﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace PBKVideo
{
    public class SearchResult
    {
        private int _total = 0;
        private List<Video> listVideo = null;
        private string _json = @"";
        private int _perpage;
        private int _curpage;

        public SearchResult(int totalVideos, string rawjson, int perpage, int curpage)
        {
            _total = totalVideos;
            listVideo = new List<Video>();
            _json = rawjson;
            _perpage = perpage;
            _curpage = curpage;
        }

        public string RawJson
        {
            get
            {
                return _json;
            }
        }

        public List<Video> Videos
        {
            get
            {
                return listVideo;
            }
        }

        public int TotalVideos
        {
            get
            {
                return _total;
            }
        }

        public int PerPage
        {
            get
            {
                return _perpage;
            }
        }

        public int CurrentPage
        {
            get
            {
                return _curpage;
            }
        }
    }
}
